package com.bootdo.coach.po;

import java.io.Serializable;

public class TokenObj implements Serializable {
    private static final long serialVersionUID = 3364669651192787356L;
    //用户id
    private Long id;
    
    private String key;

    //随机生成的uuid
    private String token;
    private int expiresIn;
    private long addTime;
    
    public TokenObj() {
	}

    public TokenObj(Long id, String key, String token) {
        this.id = id;
        this.key = key;
        this.token = token;
    }


    public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public String getKey() {
		return key;
	}


	public void setKey(String key) {
		this.key = key;
	}


	public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

	public int getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(int expiresIn) {
		this.expiresIn = expiresIn;
	}

	public long getAddTime() {
		return addTime;
	}

	public void setAddTime(long addTime) {
		this.addTime = addTime;
	}
    
    
}
